#ifndef __SPLASH_H__
#define __SPLASH_H__

#include "cocos2d.h"

#include "Box2D/Box2D.h"

#include "SimpleAudioEngine.h"
using namespace cocos2d;

class Splash : public CCLayer
{
public:
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    virtual bool init();  
	//virtual void menuStartCallback(CCObject* pSender);

	virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	virtual void onEnter();
	virtual void onExit();

    // there's no 'id' in cpp, so we recommand to return the exactly class pointer
    static cocos2d::CCScene* scene();
    
    // implement the "static node()" method manually
    LAYER_NODE_FUNC(Splash);
};

#endif  // __SPLASH_H__